package com.neusoft.bizcore.notice.notification.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.notice.notification.dto.NoticeRecordDTO;
import com.neusoft.bizcore.web.support.Searchable;

public interface NoticeRecordService {
    List<NoticeRecordDTO> findAll(Searchable searchable);

    Page<NoticeRecordDTO> search(Pageable pageable, Searchable searchable);

    NoticeRecordDTO create(NoticeRecordDTO dto);

    NoticeRecordDTO update(Long id, NoticeRecordDTO dto);

    NoticeRecordDTO details(Long id);

    void delete(Long id);
}
